/* eslint-disable no-irregular-whitespace */
const mMallWebApiV1 = '/m-mall-center/api/v1';

// 创建批发采购订单-暂存
export const orderCommonSaveOrder = `${mMallWebApiV1}/orderCommon/saveOrder`;
// 创建批发采购订单-提交
export const orderCommonSubmitOrder = `${mMallWebApiV1}/orderCommon/submitOrder`;
// 创建批发采购订单—添加采购产品
export const orderPurchaseProductPageList = `${mMallWebApiV1}/order/purchaseProduct/pageList`;
// 创建批发采购订单—第三步，查询订单类型
export const commonGetOrderType = `${mMallWebApiV1}/common/MConfigOrderType/getOrderType`;
// 创建批发采购订单—第1步，查询订单类型
export const getOrderTypeWholesale = `${mMallWebApiV1}/common/MConfigOrderType/getOrderTypeWholesale`;
// 创建批发采购订单-第二步，未成功导入数据下载
export const downloadFailUploadData = `${mMallWebApiV1}/file/downloadFailUploadData`;
// 创建批发采购订单-第三步，获取附加信息表单内容
export const orderGetAppendInfo = `${mMallWebApiV1}/order/getAppendInfo`;

// 订单管理-订单详情
export const queryOrderInfo = `${mMallWebApiV1}/orderCommon/queryOrderInfo`;
// 订单管理-取消订单
export const orderCancel = `${mMallWebApiV1}/order/orderCancel`;
// 订单管理-订单管理列表
export const orderDetailList = `${mMallWebApiV1}/order/orderDetailList`;
// 订单管理-产品线下拉模糊查询
export const getProductLineNameList = `${mMallWebApiV1}/order/getProductLineNameList`;
// 订单管理-订单校验失败错误信息分页列表
export const checkFailMessageList = `${mMallWebApiV1}/order/checkFailMessage/pageList`;
// 订单管理-删除订单
export const deleteOrder = `${mMallWebApiV1}/order/deleteOrder`;
// 订单管理-订单库存配位分页列表
export const stockBatchList = `${mMallWebApiV1}/order/stockBatch/pageList`;
// 订单管理-根据订单状态查询对应订单条数
export const getOrderCountByStatus = `${mMallWebApiV1}/order/getOrderCountByStatus`;
// 订单管理-根据订单id查询采购产品分页列表
export const orderProductList = `${mMallWebApiV1}/order/orderDetailProduct/pageList`;
// 订单管理-发货单列表
export const orderDeliverList = `${mMallWebApiV1}/orderGoodsNotice/orderDeliverList`;
// 订单管理-发货单详情
export const orderDeliverDetail = `${mMallWebApiV1}/orderGoodsNotice/orderDeliverDetail`;
// 订单管理-确认收货
export const confirmOrder = `${mMallWebApiV1}/order/confirmOrder`;
// 订单管理-原厂模糊下拉列表
export const getOriginalFactoryName = `${mMallWebApiV1}/order/getOriginalFactoryName`;
// 订单管理-供应商模糊下拉列表
export const getSupplierList = `${mMallWebApiV1}/order/getSupplierList`;
// 订单管理 - 订单详情-收货信息列表
export const getOrderDeliverList = `${mMallWebApiV1}/orderGoodsNotice/getOrderDeliverList`;
// 订单管理 - 订单详情-收货信息列表-详情
export const getOrderDeliverDetailList = `${mMallWebApiV1}/orderGoodsNotice/getOrderDeliverDetailList`;
// 订单管理 - 订单详情-订单状态流转图
export const findOrderStatus = `${mMallWebApiV1}/orderCommon/findOrderStatus`;
// 订单管理 - 订单详情-配送信息
export const getOrderLogistics = `${mMallWebApiV1}/common/MOrderLogistics/getOrderLogistics`;
// 订单管理 - 订单详情 - 获取取消产品列表
export const orderCancelProductList = `${mMallWebApiV1}/order/orderDetailProduct/orderCancelProductList`;
// 订单管理 - 订单详情-线下订单状态流转图
export const findStockStatus = `${mMallWebApiV1}/orderCommon/findStockStatus`;
// 应付账单管理 - 订单详情
export const findPaymentByOrderId = `${mMallWebApiV1}/payBillManage/findPaymentByOrderId`;
// 应付账单管理-导出
export const exportExcel = `${mMallWebApiV1}/payBillManage/exportExcel`;
// 应付账单管理-列表页首次进入弹窗消息接口
export const findPayReceivePaymentRemind = `${mMallWebApiV1}/payBillManage/findPayReceivePaymentRemind`;
// 应付账单管理-列表支付类型数量
export const findPayTypeCount = `${mMallWebApiV1}/payBillManage/findPayTypeCount`;
// 应付账单管理-列表分页接口
export const pageList = `${mMallWebApiV1}/payBillManage/pageList`;
// 应付账单管理-支付结果查询
export const findPaymentStatus = `${mMallWebApiV1}/payBillManage/findPaymentStatus`;
// 应付账单管理-查询收款方名称列表
export const findPayeeName = `${mMallWebApiV1}/payBillManage/findPayeeName`;

// 查询客服组列表 -七鱼客服用
export const customerServiceList = `${mMallWebApiV1}/customerService/list`;

// 报台（经销商）- 创建 - OCR识别接口
export const distinguishForOCR = `${mMallWebApiV1}/file/distinguishForOCR`;
// 报台（经销商）- 创建 - 添加销售产品
export const distributeSelectSaleProductList = `${mMallWebApiV1}/agent/newspaper/selectSaleProductList`;
// 报台（经销商）- 创建 - 销售日期
export const selectSalesDate = `${mMallWebApiV1}/agent/newspaper/selectSalesDate`;

// 报台（经销商）- 列表查询
export const selectAgentManager = `${mMallWebApiV1}/agent/newspaper/selectAgentManager`;
// 报台（经销商）- 搜索-原厂查询
export const selectOriginalFactoryOrder = `${mMallWebApiV1}/agent/newspaper/selectOriginalFactoryOrder`;
// 报台（经销商）- 搜索-销售对象查询
export const selectsaleTargetOrder = `${mMallWebApiV1}/agent/newspaper/selectsaleTargetOrder`;

// 报台（经销商）- 导出
export const downloadNewsPaperData = `${mMallWebApiV1}/file/downloadNewsPaperData`;
// 报台（经销商）- 报台详情产品列表
export const distributorProductList = `${mMallWebApiV1}/agent/newspaper/newspaperDetail/productList`;
// 报台（经销商）- 报台冲红
export const updateRed = `${mMallWebApiV1}/agent/newspaper/updateRed`;
// 报台（经销商）- 发票信息
export const invoiceInfoList = `${mMallWebApiV1}/agent/newspaper/invoiceInfoList`;
// 报台（经销商）- 其他附件
export const otherAttachmentList = `${mMallWebApiV1}/agent/newspaper/otherAttachmentList`;
// 报台（经销商）- 全部导出
export const downloadAllNewsPaperData = `${mMallWebApiV1}/file/downloadAllNewsPaperData`;
// 报台（经销商）- 编辑提交接口
export const editNewspaper = `${mMallWebApiV1}/orderCommon/editNewspaper`;
// 报台（经销商）- 创建报台 - 导入销售产品excel接口
export const uploadProductBT = `${mMallWebApiV1}/file/uploadProductBT`;
// 报台（经销商）- 创建报台 - 导出失败文件
export const downloadFailUploadDataBT = `${mMallWebApiV1}/file/downloadFailUploadDataBT`;

// 创建退换货 - 供应商
export const selectsupplierList = `${mMallWebApiV1}/order/selectsupplierList`;
// 创建退换货 - 合同
export const selectListBysupplier = `${mMallWebApiV1}/order/selectListBysupplier`;
// 获取公共枚举值信息
export const commonEnum = `${mMallWebApiV1}/order/commonEnum`;
// 通过用户id查询收货地址
export const getOrderAddressList = `${mMallWebApiV1}/orderAddress/getOrderAddressList`;
// 获取订单类型
export const getOrderType = `${mMallWebApiV1}/common/MConfigOrderType/getOrderType`;

// 换货保存（暂存）订单，不提交
export const saveOrderChange = `${mMallWebApiV1}/afterSale/saveOrderChange`;
// 换货提交订单，保存+提交OMS
export const submitOrderChange = `${mMallWebApiV1}/afterSale/submitOrderChange`;
// 退货保存（暂存）订单，不提交
export const saveOrderReturn = `${mMallWebApiV1}/afterSale/saveOrderReturn`;
// 退货提交订单，保存+提交OMS
export const submitOrderReturn = `${mMallWebApiV1}/afterSale/submitOrderReturn`;

// 退货产品列表
export const returnProductList = `${mMallWebApiV1}/returnProduct/productList`;
// 退货产品模板上传Excel
export const uploadReturnedProduct = `${mMallWebApiV1}/file/uploadReturnedProduct`;
// 退货产品未成功导入数据下载
export const downloadFailUploadDataTH = `${mMallWebApiV1}/file/downloadFailUploadDataTH`;

// 换货产品未成功导入数据下载
export const downloadFailUploadDataHH = `${mMallWebApiV1}/file/downloadFailUploadDataHH`;
// 换货产品模板上传excel
export const uploadReturnedExchangeProduct = `${mMallWebApiV1}/file/uploadReturnedExchangeProduct`;
// 添加新换产品列表
export const addProductList = `${mMallWebApiV1}/exchangeProduct/addProductList`;

// 退货信息详情查看
export const salesReturnDetails = `${mMallWebApiV1}/order/salesReturnDetails`;
// 实际退货产品/不符合退货条件的产品列表
export const actualReturnedProduct = `${mMallWebApiV1}/order/actualReturnedProduct`;
// 售后订单管理-退货产品信息
export const returnProductInfo = `${mMallWebApiV1}/order/returnProductInfo`;
// 换货-待确认-提交
export const submitOrderChangeConfirm = `${mMallWebApiV1}/afterSale/submitOrderChangeConfirm`;

// 售后订单管理列表接口
export const afterSalesOrderManagement = `${mMallWebApiV1}/order/order/pageList`;
// 售后获取订单状态接口
export const orderStatus = `${mMallWebApiV1}/common/MConfigOrderType/getOrderType`;
// 售后获取退/换货原因接口
export const reasonsForReturnAndReplacement = `${mMallWebApiV1}/order/commonEnum`;
// 售后获取状态数量查询接口
export const statusQuantityQuery = `${mMallWebApiV1}/order/order/countByOrderStatus`;
// 售后退货随货单打印接口
export const printList = `${mMallWebApiV1}/order/printOrder`;
// 售后发货接口
export const sendGoods = `${mMallWebApiV1}/order/sendGoods`;
// 售后获取产品线内容
export const productLine = `${mMallWebApiV1}/order/selectByProductLineName`;
// 售后获取供应商内容
export const supplierList = `${mMallWebApiV1}/order/selectBySupplierName`;
// 售后获取详情内容
export const detailInterface = `${mMallWebApiV1}/order/salesReturnDetails`;
// 售后订单管理详情接口  判断按钮展示不展示
export const returnStatus = `${mMallWebApiV1}/order/returnStatus`;
// 售后订单流程
export const afterOrderStatus = `${mMallWebApiV1}/orderCommon/afterOrderStatus`;

// 整单退货
export const wholeOrderReturn = `${mMallWebApiV1}/returnProduct/wholeOrderReturn`;

// 回显退货产品列表
export const echoReturnProductList = `${mMallWebApiV1}/returnProduct/echoReturnProductList`;
// 回显换货产品列表
export const echoExchangeProductList = `${mMallWebApiV1}/exchangeProduct/echoExchangeProductList`;

// 电商订单管理获取订单类型
export const selectOrderTypeList = `${mMallWebApiV1}/order/selectOrderTypeList`;

// 原单退货-批量导入产品接口
export const uploadOriginalOrderReturnedProduct = `${mMallWebApiV1}/file/uploadOriginalOrderReturnedProduct`;

// 医院采购订单-获取医院下拉列表接口
export const selectByHospitalName = `${mMallWebApiV1}/commerce/selectByHospitalName`;
// 医院采购订单-取消订单展示接口
export const selectOrderNotice = `${mMallWebApiV1}/commerce/selectOrderNotice`;
// 医院采购订单-取消订单确定接口
export const updateFlag = `${mMallWebApiV1}/commerce/updateFlag`;
// 创建医院采购订单-获取订单类型接口
export const hospitalOrderType = `${mMallWebApiV1}/order/supplier`;
// 创建医院采购订单-合同接口
export const contract = `${mMallWebApiV1}/order/contract`;
// 创建批发采购订单-暂存
export const commerceSaveOrder = `${mMallWebApiV1}/commerce/saveOrder`;
// 创建批发采购订单-提交
export const commerceSubmitOrder = `${mMallWebApiV1}/commerce/submitOrder`;
// 创建批发采购订单-获取地址接口
export const getOrderAddressByUserId = `${mMallWebApiV1}/orderAddress/getOrderAddressByUserId`;
// 医院订单管理，未成功导入数据下载
export const downloadImportTProductFailUploadData = `${mMallWebApiV1}/file/downloadImportTProductFailUploadData`;
// 医院订单管理，上传数据
export const importTProduct = `${mMallWebApiV1}/file/importTProduct`;

//付款凭证
export const uploadPaymentVoucher = `${mMallWebApiV1}/order/uploadPaymentVoucher`;
//付款凭证查询
export const queryOrderPaymentVoucher = `${mMallWebApiV1}/order/queryOrderPaymentVoucher`;

// 医院订单管理-订单状态集
export const orderCommonFindOrderStatus = `${mMallWebApiV1}/orderCommon/findOrderStatus`;
// 医院订单管理-订单基本信息
export const orderCommonQueryOrderInfo = `${mMallWebApiV1}/orderCommon/queryOrderInfo`;
// 医院订单管理-操作流程订单状态
export const commerceGetOrderFlow = `${mMallWebApiV1}/commerce/getOrderFlow`;
// // 原厂-获取销售员
export const selectSaleManList = `${mMallWebApiV1}/agent/newspaper/selectSaleManList`;
// 长期寄售供应商授权医院搜索接口
export const hospitalSearch = `${mMallWebApiV1}/ccOrder/hospitalSearch`;
// 添加消耗产品列表接口
export const queryConfirmConsumptionProduct = `${mMallWebApiV1}/ccOrder/queryConfirmConsumptionProduct`;
// 通过订单编码查询序列号信息
export const findProductSnInfo = `${mMallWebApiV1}/common/MOrderProductSn/findProductSnInfo`;
// 删除接口地址
export const deleteOrderAddress = `${mMallWebApiV1}/orderAddress/deleteOrderAddress`;
// 寄售订单列表导出
export const downloadOrderList = `${mMallWebApiV1}/file/downloadOrderList`;
// 寄售订单产品详情导出
export const downloadOrderDetailInfo = `${mMallWebApiV1}/file/downloadOrderDetailInfo`;
// 订单详情消耗产品分页列表
export const pageProductDetailList = `${mMallWebApiV1}/ccOrder/consignmentProduct/pageProductDetailList`;
// 查询详情产品
export const queryOrderDetailProductList = `${mMallWebApiV1}/ccOrder/queryOrderDetailProductList`;
// 回显产品信息
export const echoConfirmConsumptionProduct = `${mMallWebApiV1}/ccOrder/echoConfirmConsumptionProduct`;
// 产品导入失败
export const downloadImportTConfirmConsumptionProductFailUpload = `${mMallWebApiV1}/file/downloadImportTConfirmConsumptionProductFailUploadData`;
// 序列号导入失败
export const downloadImportTSeqNoFailUploadData = `${mMallWebApiV1}/file/downloadImportTSeqNoFailUploadData`;
// 医院订单产品详情导出
export const downloadHospitalOrderDetailInfo = `${mMallWebApiV1}/file/downloadHospitalOrderDetailInfo`;
// 医院订单列表导出
export const downloadHospitalOrderList = `${mMallWebApiV1}/file/downloadHospitalOrderList`;
// 电商订单管理获取订单类型
export const payBillManageSelectOrderTypeList = `${mMallWebApiV1}/payBillManage/selectOrderTypeList`;
// 批发单列表导出
export const downloadOrderListPF = `${mMallWebApiV1}/file/downloadOrderListPF`;
// 批发订单产品详情导出
export const downloadOrderDetailInfoPF = `${mMallWebApiV1}/file/downloadOrderDetailInfoPF`;
// 原消耗单产品信息
export const orderPageList = `${mMallWebApiV1}/order/oldOrderDetailProductPageList/pageList`;
// 院端确认消耗产品模版导入接口
export const uploadHospProduct = `${mMallWebApiV1}/file/uploadHospProduct`;
// 院端确认消耗产品未成功导入数据下载
export const productFailUploadData = `${mMallWebApiV1}/file/downloadImportTHospitalConfirmConsumptionProductFailUploadData`;
// 院端确认消耗产品-保存（暂存）订单，不提交
export const consumeSaveOrder = `${mMallWebApiV1}/consume/saveOrder`;
// 院端确认消耗产品-提交订单，保存+提交OMS
export const consumeSubmitOrder = `${mMallWebApiV1}/consume/submitOrder`;

// 打印数据接口 （批发订单、寄售订单）
export const orderCommonFindPrintInfo = `${mMallWebApiV1}/orderCommon/findPrintInfo`;


//库存管理------ 查询经销商库存列表
export const inquireDealerInventory = `${mMallWebApiV1}/stock/distributorStocklist`;
//库存管理------ 删除经销商库存
export const deleteDealerInventory = `${mMallWebApiV1}/stock/deleteDistributorStock`;
// 经销商库存导入---未成功导入数据下载
export const noImportDealerInventory = `${mMallWebApiV1}/file/downloadFailStockData`;
// 搜索---供应商下拉
export const supplierSelect = `${mMallWebApiV1}/stock/selectSuperiorStock`;
// 搜索---经销商下拉
export const dealerSelect = `${mMallWebApiV1}/stock/selectDistributorStock`;
// 搜索----产线下拉
export const productLineSelect = `${mMallWebApiV1}/stock/selectProductLineStock`;
// 导入库存弹框中的经销商下拉选择接口
export const dealerSelectDialog = `${mMallWebApiV1}/order/queryCompanyList`;
// 导入库存弹框中的经销商供应商查询产线下拉选择接口
export const productLineSelectDialog = `${mMallWebApiV1}/order/queryProductLineList`;
// 导入库存供应商下拉
export const getSupplier = `${mMallWebApiV1}/order/supplier`;
// 导入库存
export const uploadStock = `${mMallWebApiV1}/file/uploadStock`;
